app.controller('inputDialogCtrl', ['$scope', '$uibModalInstance', 'data', 'httpWrapService', 'dialogs', function ($scope, $uibModalInstance, data, httpWrapService, dialogs) {
    $scope.data = data;
    $scope.cancel = function () {
        $uibModalInstance.dismiss('Canceled');
    }; // end cancel
    $scope.ok = function () {
        $uibModalInstance.close($scope.data.input);
    };
}]);

